package org.fund.base_service.domain;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 持仓(Position)实体类
 *
 * @author makejava
 * @since 2022-03-13 01:28:43
 */
@ApiModel(value = "持仓")
@Data
public class Position implements Serializable {
    private static final long serialVersionUID = 580153050756468038L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Integer id;
    /**
     * 基金编码
     */
    @ApiModelProperty(value = "基金编码")
    private String fundCode;
    /**
     * 基金名称
     */
    @ApiModelProperty(value = "基金名称")
    private String fundName;
    /**
     * 成本价
     */
    @ApiModelProperty(value = "成本价")
    private BigDecimal holdPerPrice;
    /**
     * 持有份额
     */
    @ApiModelProperty(value = "持有份额")
    private BigDecimal holdAmount;
    /**
     * 目标收益率
     */
    @ApiModelProperty(value = "目标收益率")
    private String targetRate;
    /**
     * 本金
     */
    @ApiModelProperty(value = "本金")
    private BigDecimal holdTotal;
    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "基金类型")
    private int fundType;

}

